ImportWP\Common\Filesystem\Filesystem A

Total Complexity 61
Dependencies 6
Dependents 5
Total lines 305
Lines of code 211
Logical lines of code 141
Comment lines 18
Methods 12
Properties 2

Methods 12

Method Rating Maintainability Complexity Lines of code
download_file()
B
39 16 62
check_mime_header()
A
56 12 18
upload_file()
S
50 6 26
copy()
S
52 6 23
get_temp_directory()
S
60 5 13
file_exists()
S
58 4 15
copy_file()
S
57 3 16
get_filetype_from_ext()
S
64 3 10
string_to_file()
S
59 2 13
get_filetype()
S
69 2 7
__construct()
S
76 1 4
get_file_mime()
S
75 1 4